﻿using System;
using System.Collections.Generic;
using System.Text;
using ilibrary.source.model;
using System.Drawing;

namespace DJVUHandler
{
    public class DJVUHandler : IEbookHandler
    {
        #region IEbookHandler Members

        public IEbook createEbook(int id, string path)
        {
            return new DJVUEbook(id, path);
        }

        public string getSupportedExtension()
        {
            return ".djvu";
        }

        public System.Drawing.Image getExtensionImage()
        {
            return Image.FromHbitmap(Resource.djvu.GetHbitmap());
        }
        #endregion

    }
}
